//
//  UULoginRequestModel.m
//  UUCharterSupplier
//
//  Created by ZhangAo on 13/01/2018.
//  Copyright © 2018 UUCharter. All rights reserved.
//

#import "UULoginRequestModel.h"

@implementation UULoginRequestModel

- (NSString *)url {
    return @"noauth/login";
}

- (Class)responseModelClass {
    return [UULoginResponseModel class];
}

@end


@implementation UULoginResponseModel

- (instancetype)init {
    self = [super init];
    if (self) {
        [self addManualMappingDict:@{
                                     @"id" : @"userId"
                                     }];
    }
    
    return self;
}

@end
